package com.ruoyi.consume.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基质领用对象 stroma_apply
 *
 * @author ruoyi
 * @date 2021-07-23
 */
public class StromaApplyCon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号自动编号，主码 */
    private Long stromaApplyId;

    /** 编号外码 */
    @Excel(name = "编号外码")
    private Long orderAllocationId;

    /** 基质种类外码 */
    @Excel(name = "基质种类外码")
    private Long stromaKindId;
    /** 基质种类 */
    private String stromaKind;

    /** 基质类型外码 */
    @Excel(name = "基质类型外码")
    private Long stromaTypeId;
    /** 基质类型 */
    private String stromaType;

    /** 基质品牌 */
    @Excel(name = "基质品牌")
    private String brand;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 订单编号外码 */
    @Excel(name = "订单编号外码")
    private String orderId;
    /** 订单编号 */
    private String orderName;

    /** 申请量 */
    @Excel(name = "申请量")
    private Long applyAmount;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 申请人外码 */
    @Excel(name = "申请人外码")
    private Long userId;
    /** 申请人外码 */
    private String userName;

    /** 生产厂长审批状态0表示申请，1表示审批通过，2表示不通过 */
    @Excel(name = "生产厂长审批状态0表示申请，1表示审批通过，2表示不通过")
    private Long approvalStatusProduct;

    /** 技术厂长审批状态0表示申请，1表示审批通过，2表示不通过 */
    @Excel(name = "技术厂长审批状态0表示申请，1表示审批通过，2表示不通过")
    private Long approvalStatusTechnology;

    /** 领用状态未领用 | 已领用 */
    @Excel(name = "领用状态未领用 | 已领用")
    private String consumeStatus;

    public void setStromaApplyId(Long stromaApplyId)
    {
        this.stromaApplyId = stromaApplyId;
    }

    public Long getStromaApplyId()
    {
        return stromaApplyId;
    }
    public void setOrderAllocationId(Long orderAllocationId)
    {
        this.orderAllocationId = orderAllocationId;
    }

    public Long getOrderAllocationId()
    {
        return orderAllocationId;
    }
    public void setStromaKindId(Long stromaKindId)
    {
        this.stromaKindId = stromaKindId;
    }

    public Long getStromaKindId()
    {
        return stromaKindId;
    }

    public void setStromaKind(String stromaKind) {
        this.stromaKind = stromaKind;
    }
    public String getStromaKind() {
        return stromaKind;
    }

    public void setStromaTypeId(Long stromaTypeId)
    {
        this.stromaTypeId = stromaTypeId;
    }

    public Long getStromaTypeId()
    {
        return stromaTypeId;
    }

    public void setStromaType(String stromaType) {
        this.stromaType = stromaType;
    }
    public String getStromaType() {
        return stromaType;
    }

    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany()
    {
        return originCompany;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }
    public String getOrderName() {
        return orderName;
    }

    public void setApplyAmount(Long applyAmount)
    {
        this.applyAmount = applyAmount;
    }

    public Long getApplyAmount()
    {
        return applyAmount;
    }
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime()
    {
        return applyTime;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserName() {
        return userName;
    }

    public void setApprovalStatusProduct(Long approvalStatusProduct)
    {
        this.approvalStatusProduct = approvalStatusProduct;
    }

    public Long getApprovalStatusProduct()
    {
        return approvalStatusProduct;
    }
    public void setApprovalStatusTechnology(Long approvalStatusTechnology)
    {
        this.approvalStatusTechnology = approvalStatusTechnology;
    }

    public Long getApprovalStatusTechnology()
    {
        return approvalStatusTechnology;
    }
    public void setConsumeStatus(String consumeStatus)
    {
        this.consumeStatus = consumeStatus;
    }

    public String getConsumeStatus()
    {
        return consumeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stromaApplyId", getStromaApplyId())
            .append("orderAllocationId", getOrderAllocationId())
            .append("stromaKindId", getStromaKindId())
            .append("stromaTypeId", getStromaTypeId())
            .append("brand", getBrand())
            .append("originCompany", getOriginCompany())
            .append("orderId", getOrderId())
            .append("applyAmount", getApplyAmount())
            .append("applyTime", getApplyTime())
            .append("userId", getUserId())
            .append("approvalStatusProduct", getApprovalStatusProduct())
            .append("approvalStatusTechnology", getApprovalStatusTechnology())
            .append("consumeStatus", getConsumeStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
